package cn.wolfcode.crm.query;

import lombok.Getter;
import lombok.Setter;

@Setter
@Getter
public class QueryObject {
    //当前页
    private int page = 1;
    //每页显示条数
    private int rows = 10;
    //排序的列
    private String sort;
    //升序降序
    private String order;

    public int getStart(){
        return (page-1)*rows;
    }
}
